package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.pojo.Medicalreport;
import com.zj.healthmanage.mapper.MedicalreportMapper;
import com.zj.healthmanage.service.MedicalreportService;
@Service
public class MedicalreportServiceImpl implements MedicalreportService{

    @Resource
    private MedicalreportMapper medicalreportMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return medicalreportMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Medicalreport record) {
        return medicalreportMapper.insert(record);
    }

    @Override
    public int insertSelective(Medicalreport record) {
        return medicalreportMapper.insertSelective(record);
    }

    @Override
    public Medicalreport selectByPrimaryKey(Integer id) {
        return medicalreportMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Medicalreport record) {
        return medicalreportMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Medicalreport record) {
        return medicalreportMapper.updateByPrimaryKey(record);
    }

}
